<template>
  <div>
    <el-form class="viewForm" label-width="80px">
      <el-col :span="12">
        <el-form-item label="商家">
          <div v-html="viewModel.shopName"></div>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="提现单号">
          <div v-html="viewModel.no"></div>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="姓名">
          <div v-html="viewModel.name"></div>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="付款金额">
          <div v-html="viewModel.money"></div>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="手续费">
          <div v-html="viewModel.fee"></div>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="提现金额">
          <div v-html="viewModel.cash"></div>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="状态">
          <div v-html="viewModel.sendStateName"></div>
        </el-form-item>
      </el-col>
      <el-col :span="12">
        <el-form-item label="备注">
          <div v-html="viewModel.demo"></div>
        </el-form-item>
      </el-col>
    </el-form>
  </div>
</template>

<script>
import common from "@/mixins/common.js";

export default {
  mixins: [common],
  data() {
    return {
      viewModel: {},
      activeIndex: "1",
    };
  },
  mounted() {
    var id = this.$route.query.id;
    var self = this;
    var data = {};
    data.id = id;

    this.postData("/tenantRest/shopcash/view.htm", data, function (res) {
      if (res.code == 0) {
        self.viewModel = res;
      }
    });
  },
};
</script>

<style>
</style>